<?php

/**
 * catalog actions.
 *
 * @package    IPLIFE
 * @subpackage catalog
 * @author     alexey.shapran@gmail.com
 * @version    SVN: $Id: actions.class.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class catalogComponents extends sfComponents
{
	/**
	 * Executes index action
	 *
	 * @param sfRequest $request A request object
	 */
	
	public function executeCategorymenu(sfWebRequest $request)
	{
		$this->categories = Category::getAllCategories('position');
		if(!isset($this->expand))
			$this->expand = false;
	}
}